package com.yunxi.sto.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 车辆下线数据查询
 * </p>
 *
 * @author caoYong
 * @since 2019-05-21
 */
@Data
@ApiModel(value="VehicleOfflineQuery对象", description="车辆下线数据查询")
public class VehicleOfflineQueryVO implements Serializable {

    @ApiModelProperty(value = "VIN码")
    private String vin;
	
	@ApiModelProperty(value = "车系代码")
    private String seriesCode;
	
	@ApiModelProperty(value = "车型代码")
    private String modelCode;
	
	@ApiModelProperty(value = "配置代码")
    private String catalogCode;

    @ApiModelProperty(value = "下线时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date actualOfflineTime;

    @ApiModelProperty(value = "入库RFD时间")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date rfidDate;

    @ApiModelProperty(value = "车系名称")
    private String seriesName;

    @ApiModelProperty(value = "车型名称")
    private String modelName;

    @ApiModelProperty(value = "配置名称")
    private String catalogName;

    @ApiModelProperty(value = "内饰颜色名称")
    private String colorNameIn;

    @ApiModelProperty(value = "内饰颜色代码")
    private String colorCodeIn;

    @ApiModelProperty(value = "外饰颜色名称")
    private String colorNameOut;

    @ApiModelProperty(value = "外饰颜色代码")
    private String colorCodeOut;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "库存状态(DealerVehicleStock_InventoryStatus,0在途,1在库,2出库 )")
    private String storageStatus;

    @ApiModelProperty(value = "车辆是否冻结(1是0否)")
    private Integer vehicleIsFrozen;

    @ApiModelProperty(value = "冻结原因KEY")
    private Integer frozenReasonKey;

    @ApiModelProperty(value = "主键id")
    private String vehicleId;

    @ApiModelProperty(value = "选装包代码拼接")
    private String customPackCode;

    @ApiModelProperty(value = "选装包名称拼接")
    private String customPackName;

    @ApiModelProperty(value = "下线日期起")
    private String actualOfflineTimeFrom;

    @ApiModelProperty(value = "下线日期止")
    private String actualOfflineTimeTo;

    @ApiModelProperty(value = "入库日期起")
    private String rfidDateFrom;

    @ApiModelProperty(value = "入库日期止")
    private String rfidDateTo;

    @ApiModelProperty(value = "电机序列号")
    private String motorCode;

    @ApiModelProperty(value = "电池序列号")
    private String bettaryCode;

    @ApiModelProperty(value = "电控序列号")
    private String electronicControl;

    @ApiModelProperty(value = "合格证号")
    private String certNo;

    @ApiModelProperty(value = "冻结原因")
    private String frozenReason;

    @ApiModelProperty(value = "合格证日期")
    private Date certPrintDate;
}
